package cn.edu.njust.pojo;

import cn.edu.njust.util.ExcelImport;

public class Result {

    //成绩单账号
    @ExcelImport(value = "成绩单账号", required = true, unique = true)
    private String reNo;
    //学生账号
    @ExcelImport(value = "学生帐号", required = true, maxLength = 20)
    private String idNo;
    //考试语言
    @ExcelImport(value = "考试语言", required = true)
    private String language;
    //考试年份
    @ExcelImport(value = "考试年份", required = true)
    private String year;
    //第一题得分
    @ExcelImport(value = "第一题得分", required = true)
    private int Q1_grade;
    //第二题得分
    @ExcelImport(value = "第二题得分", required = true)
    private int Q2_grade;
    //第三题得分
    @ExcelImport(value = "第三题得分", required = true)
    private int Q3_grade;
    //第四题得分
    @ExcelImport(value = "第四题得分", required = true)
    private int Q4_grade;
    //第五题得分
    @ExcelImport(value = "第五题得分", required = true)
    private int Q5_grade;
    //总分
    @ExcelImport(value = "总分", required = true)
    private int grade;


    public Result() {
    }

    public Result(String reNo, String idNo, String language, String year, int Q1_grade, int Q2_grade, int Q3_grade, int Q4_grade, int Q5_grade, int grade) {
        this.reNo = reNo;
        this.idNo = idNo;
        this.language = language;
        this.year = year;
        this.Q1_grade = Q1_grade;
        this.Q2_grade = Q2_grade;
        this.Q3_grade = Q3_grade;
        this.Q4_grade = Q4_grade;
        this.Q5_grade = Q5_grade;
        this.grade = grade;
    }

    public String getReNo() {
        return reNo;
    }

    public void setReNo(String reNo) {
        this.reNo = reNo;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public int getQ1_grade() {
        return Q1_grade;
    }

    public void setQ1_grade(int Q1_grade) {
        this.Q1_grade = Q1_grade;
    }

    public int getQ2_grade() {
        return Q2_grade;
    }

    public void setQ2_grade(int Q2_grade) {
        this.Q2_grade = Q2_grade;
    }

    public int getQ3_grade() {
        return Q3_grade;
    }

    public void setQ3_grade(int Q3_grade) {
        this.Q3_grade = Q3_grade;
    }

    public int getQ4_grade() {
        return Q4_grade;
    }

    public void setQ4_grade(int Q4_grade) {
        this.Q4_grade = Q4_grade;
    }

    public int getQ5_grade() {
        return Q5_grade;
    }

    public void setQ5_grade(int Q5_grade) {
        this.Q5_grade = Q5_grade;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }


    /**
     *
     */
    @Override
    public String toString() {
        return "result{" +
                "reNo='" + reNo + '\'' +
                ", idNo='" + idNo + '\'' +
                ", language='" + language + '\'' +
                ", year='" + year + '\'' +
                ", Q1_grade='" + Q1_grade + '\'' +
                ", Q2_grade='" + Q2_grade + '\'' +
                ", Q3_grade='" + Q3_grade + '\'' +
                ", Q4_grade='" + Q4_grade + '\'' +
                ", Q5_grade='" + Q5_grade + '\'' +
                ", grade=" + grade +
                '}';
    }

}
